home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 8 / developer source - volume 8.iso / sdevl / oct95 / 1p72.gif next >
Graphics Interchange Format  |  1997-01-15  |  155.1 KB  |  839x976  |  4-bit (15 colors)
   ocr: dentifying Objects Just like rows in a table need to have unique identifiers called keys, objects need unique identifiers called object IDs (OIDs). A common implementation for OIDs is to use integer numbers. The following chart describes the four basic approaches to assigning OIDs to objects. Strategy implementation Advantages Disadvantages Class-wide All objects of a single Using an integer number Very simple to do. Polymorphism kills this OIDs class are assigned a for the OID, you take the approach aimost instantly. unique OID within the maximum value within the For example, it's possible to ...